-- clear_status
-- Created by zhuangsl
-- 清除状态

return {
    apply = function(source, target, classId, value)
        local status = value;
        if status == 0 then
            CombatStatusM.clearStatusByType(target, COM_STATUS_DEBUFF);
            CombatStatusM.clearStatusByType(target, COM_STATUS_DAMAGE);
        else
            CombatStatusM.clearStatus(target, status);
        end
    end,
}